home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 1
/
SPACE - Library 1 - Volume 1.iso
/
misc~1
/
28
/
m2speech
/
speech.def
next >
Wrap
Text File
|
1987-04-04
|
1KB
|
22 lines
DEFINITION MODULE speech;
(* USE THIS MODULE ONLY WITHIN A GEM APPLICATION *)
(* This module uses the sound chip as a speech synthesizer. *)
(* The executable file SPEECH.EXE must be in same directory as the *)
(* program. To use first call initspeechmodule once at the start *)
(* then use say to speak your text. setpitch and setrate are optional *)
(* *)
(* EXAMPLE *) (* ok:=initspeechmodule(); *) (* IF ok THEN *)
(* say("this is ok"); *)
(* END *)
PROCEDURE initspeechmodule() : BOOLEAN;
PROCEDURE setpitch(pitch: CARDINAL); (* range 0..100 *)
PROCEDURE setrate(rate: CARDINAL); (* range 0..100 *)
PROCEDURE say(VAR text: ARRAY OF CHAR);
END speech.